package Data;

/**
 * Je singleton, spojeni s db se tedy bude vytvaret pouze jednou v konstruktoru
 * @author Martin
 * @version 1.0
 * @created 24-III-2012 8:05:05
 */
public class RuleDB {

	private static RuleDB self;
	public DbData m_DbData;

	public RuleDB(){

	}

	public void finalize() throws Throwable {

	}

	public RuleDB createInstance(){
		return null;
	}

	/**
	 * 
	 * @param to
	 * @param from
	 */
	public DbData getData(Date to, Date from){
		return null;
	}

	/**
	 * 
	 * @param location
	 * @param data
	 */
	public boolean saveData(String location, DbData data){
		return false;
	}

}